// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import { BootstrapVue ,IconsPlugin } from 'bootstrap-vue'

import 'zico/css/zico.css'
import 'bootstrap-icons/font/bootstrap-icons.css'
import 'font-awesome/css/font-awesome.css'
import echarts from 'echarts'

import HeadTop from "./components/Header";
import BusinessProfile from "./components/BusinessProfile"
import BusinessInfo from "./components/BusinessInfo"
import RealTimeOverView from "./components/RealTimeOverView";
import TableManage from "./components/TableManage";import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import ProductList from "./components/ProductList";
import Search from "./components/Search";
import GoodsType from "./components/GoodsType";
import HallfoodOrder from "./components/HallfoodOrder";
import GoodsExtend from "./components/GoodsExtend";
import GoodsAttribute from "./components/GoodsAttribute";
import UserProfile from "./components/UserProfile";
import UserSearchList from "./components/UserSearchList";
import CardGrade from "./components/CardGrade";
import CardRecord from "./components/CardRecord";
import IntegralFlow from "./components/IntegralFlow";
import BalanceFlow from "./components/BalanceFlow";
import FinanceAssetOverView from "./components/FinanceAssetOverView";
import FinanceTransactionRecord from "./components/FinanceTransactionRecord";
import BasicSettings from "./components/BasicSettings";
import NoticeSettings from "./components/NoticeSettings";





// Install BootstrapVue
Vue.use(BootstrapVue)
// Optionally install the BootstrapVue icon components plugin
Vue.use(IconsPlugin)
Vue.prototype.$echarts = echarts;
Vue.use(ElementUI)


Vue.component("head-vue",HeadTop)//导航栏
Vue.component("BusinessProfile",BusinessProfile)//商户概况
Vue.component("BusinessInfo",BusinessInfo)//商户信息
Vue.component("RealTimeOverView",RealTimeOverView)//商户概况中的实时概况组件
Vue.component("TableManage",TableManage)//桌码管理
Vue.component("ProductList",ProductList)//商品管理
Vue.component("Search",Search)//商品管理搜索组件
Vue.component("GoodsType",GoodsType)//商品分类页面
Vue.component("HallfoodOrder",HallfoodOrder)//商品分类页面
Vue.component("GoodsExtend",GoodsExtend)//商品规格页面
Vue.component("GoodsAttribute",GoodsAttribute)//商品属性页面
Vue.component("UserProfile",UserProfile)//用户概况页面
Vue.component("UserSearchList",UserSearchList)//用户查询页面
Vue.component("CardGrade",CardGrade)//会员卡设置
Vue.component("CardRecord",CardRecord)//会员卡设置
Vue.component("IntegralFlow",IntegralFlow)//积分流水
Vue.component("BalanceFlow",BalanceFlow)//余额流水
Vue.component("FinanceAssetOverView",FinanceAssetOverView)//账号概况
Vue.component("FinanceTransactionRecord",FinanceTransactionRecord)//账号明细
Vue.component("BasicSettings",BasicSettings)//基础设置
Vue.component("NoticeSettings",NoticeSettings)//公告管理
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
